package com.company.word.dao;

import com.company.word.pojo.Word;

import java.sql.SQLException;

public class TestDemo {
    public static void main(String[] args) throws SQLException {

        WordDAOImpl dao=new WordDAOImpl();
        Word word=new Word(17,"china","中国7","233");
        dao.update(word);
//        dao.insert(word);
//        dao.deleteByID(1);
       // System.out.println(dao.findByWord("china"));
    }
}
